:root {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  line-height: 1.5;
  font-weight: 400;

  color-scheme: light dark;
  color: rgba(255, 255, 255, 0.95);
  background-color: #242424;

  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  font-weight: 500;
  color: #7b82ff;
  text-decoration: inherit;
}
a:hover {
  color: #8a91ff;
}

body {
  margin: 0;
  padding: 0;
  min-width: 320px;
  width: 100%;
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
}

#app {
  max-width: 100%;
  width: 100%;
  margin: 0;
  padding: 0;
  text-align: left;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow-x: hidden;
}

h1 {
  font-size: 3.2em;
  line-height: 1.1;
}

button {
  border-radius: 8px;
  border: 1px solid transparent;
  padding: 0.6em 1.2em;
  font-size: 1em;
  font-weight: 500;
  font-family: inherit;
  background-color: #2a2a2a;
  color: rgba(255, 255, 255, 0.95);
  cursor: pointer;
  transition: all 0.25s;
}
button:hover {
  border-color: #7b82ff;
  background-color: #333333;
}
button:focus,
button:focus-visible {
  outline: 4px auto -webkit-focus-ring-color;
}

.card {
  padding: 2em;
}

#app {
  max-width: 100%;
  width: 100%;
  margin: 0;
  padding: 0;
  text-align: left;
  display: flex;
  flex-direction: column;
}

@media (prefers-color-scheme: light) {
  :root {
    color: #121212;
    background-color: #ffffff;
  }
  a {
    color: #4951e5;
  }
  a:hover {
    color: #5a61ff;
  }
  button {
    background-color: #e9e9e9;
    color: #121212;
  }
  button:hover {
    background-color: #dedede;
  }
  /* 增强浅色主题下的文本可见性 */
  .feature-card {
    background: #f0f0f0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  }
  .feature-card p {
    color: #333333;
  }
  .feature-card h3 {
    color: #4951e5;
  }
  .footer-section h3 {
    color: #121212;
  }
  .footer-section p, .footer-bottom p {
    color: #333333;
  }
}
